package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.core.domain.entity.SysUserWechat;

import java.util.List;

/**
 * 微信用户绑定Mapper接口
 *
 * @author shuyan
 * @date 2021-06-16
 */
public interface SysUserWechatMapper extends BaseMapper<SysUserWechat> {

    List<SysUserWechat> listWechatUsersByPhone(String phone);

    List<SysUser> listSysUsersByOpenid(String openid);
}
